package com.xiaoshuidi.cloud.module.rooms.api.home.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class ApartmentInfoRespApiVO implements Serializable {
    @Schema(description = "门店信息")
    private ApartmentInfo apartmentInfo;
    @Schema(description = "房型信息")
    private List<LayoutInfo> layoutInfos;

    @Data
    private static class ApartmentInfo implements Serializable {
        @Schema(description = "门店ID")
        private Long apartmentId;
        @Schema(description = "主图")
        private List<String> picUrl;
        @Schema(description = "标签")
        private List<String> tags;
        @Schema(description = "门店名")
        private String apartmentName;
        @Schema(description = "地址")
        private String address;
        @Schema(description = "房间配置")
        private List<String> publicFacilities;
        @Schema(description = "租金")
        private String price;
        @Schema(description = "优惠标题")
        private String discountTitle;
        @Schema(description = "优惠信息")
        private String discountInfo;
        @Schema(description = "门店维度")
        private String lat;
        @Schema(description = "门店经度")
        private String lon;
        @Schema(description = "周边配套")
        private String roomAssets;
        @Schema(description = "交通路线")
        private String transportLine;
        @Schema(description = "门店联系电话")
        private String storeTel;
        @Schema(description = "二维码链接")
        private String qrCodeUrl;
        @Schema(description = "视频URL，多条采用英文逗号分割")
        private String videoUrl;
        @Schema(description = "vr封面url")
        private String vrPicUrl;
        @Schema(description = "vr URL,多条采用英文逗号分割")
        private String vrUrl;
    }

    @Data
    private static class LayoutInfo implements Serializable {
        @Schema(description = "房型id")
        private Long layoutId;
        @Schema(description = "房型名")
        private String layoutName;
        @Schema(description = "主图")
        private String picUrl;
        @Schema(description = "户型名")
        private String houseTypeName;
        @Schema(description = "面积下限")
        private String spaceMin;
        @Schema(description = "面积上限")
        private String spaceMax;
        @Schema(description = "租金")
        private Double price;
        @Schema(description = "是否满房")
        private Boolean isFullRoom;
    }
}
